package com.dbsop.domain;

import java.util.ArrayList;
import java.util.List;

/**
 * 需要进行排名的数据
 */
public class RankBean {

    private String flagName;

    private List<EsOrder> esOrderList;

    private int size;


    public RankBean(String flagName, List<EsOrder> esOrderList, int size) {
        this.flagName = flagName;
        this.esOrderList = esOrderList;
        this.size = size;
    }

    public RankBean(String flagName, EsOrder esOrder, int size) {
        this.flagName = flagName;
        this.esOrderList = new ArrayList<EsOrder>(1);
        this.esOrderList.add(esOrder);
        this.size = size;
    }


    public String getFlagName() {
        return flagName;
    }

    public void setFlagName(String flagName) {
        this.flagName = flagName;
    }

    public List<EsOrder> getEsOrderList() {
        return esOrderList;
    }

    public void setEsOrderList(List<EsOrder> esOrderList) {
        this.esOrderList = esOrderList;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
